/*
 * @Author: Ma Yuchen
 * @Date: 2022-10-29 20:40:24
 * @LastEditors: Ma YuChen
 * @LastEditTime: 2022-10-29 20:41:32
 * @Description: file content
 * @FilePath: \BMC\bsp_resetirq.h
 */
#ifndef _BSP_RESETIRQ_H
#define _BSP_RESETIRQ_H

#include "pindefine.h"

#define IQR_RESET_EVENT_FUNC		EXTI5_9_IRQHandler

void initResetExti(void);

uint32_t getResetStatusFlag(void);
void		setResetStatusFlag(uint32_t value);
void		clearResetStatusFlag(void);

void enableResetExti(void);
void disableResetExti(void);

#endif //_BSP_RESETIRQ_H